package io.renren.modules.mvs.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.renren.modules.mvs.dto.PaymentDetailDto;
import io.renren.modules.mvs.entity.PaymentDetailEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface MvsPaymentDetailDao extends BaseMapper<PaymentDetailEntity> {

    /**
     * 根据缴纳记录id列表获取缴纳缴费详情列表
     */
    List<PaymentDetailDto> selectListByPaymentIds(@Param("paymentIds") List<Long> paymentIds);

    List<PaymentDetailDto> selectListByTicketIds(@Param("ticketIds") List<String> ticketIds);
}
